*{
    padding: 0;
    margin: 0;
}
body,.loading-wrapper {
    width: 100vw;
    background: #000;
}

.loading-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
h1 {
    color: #222;
    font-size: 8em;
    text-transform: uppercase;
    border-bottom: 16px solid #222;
    letter-spacing: .05em;
    line-height: 1.2em;
    position: relative;
}
h1:before {
    content: attr(data-text);
    width: 100%;
    color: #03a9f4;
    border-bottom: 16px solid #03a9f4;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    animation: loading 3s linear infinite;
}

@keyframes loading {
    0%{
        width: 0;
    }

    100% {
        width: 100%;
    }
}

